package com.qf.service.impl;


import com.qf.dao.AccountDao;
import com.qf.service.AccountService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


//@Component
@Service("accountService")
//@Controller
@Scope("prototype")
public class AccountServiceImpl implements AccountService {

    //@Autowired
    //@Qualifier("accountDaoImpl1")
    @Resource
    private AccountDao accountDao;

    public AccountServiceImpl() {

    }


    public void addAccount() {

        accountDao.addAccount();

    }
}
